Perfect Derived Propagators
نویسندگان
چکیده
When implementing a propagator for a constraint, one must decide about variants: When implementing min, should one also implement max? Should one implement linear equations both with and without coefficients? Constraint variants are ubiquitous: implementing them requires considerable (if not prohibitive) effort and decreases maintainability, but will deliver better performance. This paper shows how to use variable views, previously introduced for an implementation architecture, to derive perfect propagator variants. A model for views and derived propagators is introduced. Derived propagators are proved to be indeed perfect in that they inherit essential properties such as correctness and domain and bounds consistency. Techniques for systematically deriving propagators such as transformation, generalization, specialization, and channeling are developed for several variable domains. We evaluate the massive impact of derived propagators. Without derived propagators, Gecode would require 140 000 rather than 40 000 lines of code for propagators.
منابع مشابه
View-Based Propagator Derivation - (Extended Abstract)
When implementing a propagator for a constraint, one must decide about variants: When implementing min, should one also implement max? Should one implement linear equations both with and without coefficients? Constraint variants are ubiquitous: implementing them requires considerable effort, but yields better performance. This abstract shows how to use views to derive propagator variants where ...
متن کاملGenerating Propagators for Finite Set Constraints
Ideally, programming propagators as implementations of constraints should be an entirely declarative specification process for a large class of constraints: a high-level declarative specification is automatically translated into an efficient propagator. This paper introduces the use of existential monadic secondorder logic as declarative specification language for finite set propagators. The ap...
متن کامل97 12 04 5 v 1 4 D ec 1 99 7 Conformally Invariant Green Functions of Current and Energy - Momentum Tensor in Spaces of Even Dimension D ≥ 4
We study the conformally invariant quantum field theory in spaces of even dimension D ≥ 4. The conformal transformations of current j µ and energy-momentum tensor T µν are examined. It is shown that the set of conformal transformations of particular kind corresponds to the canonical (unlike anomalous) dimensions l j = D − 1 and l T = D of those fields. These transformations cannot be derived by...
متن کاملConstraint Propagation
This dissertation presents the design of a propagation-based constraint solver. The design is based on models that span several levels of abstraction, ranging from a mathematical foundation, to a high-level implementation architecture, to concrete data structures and algorithms. This principled design approach results in a wellunderstood, correct, modular, and hence efficient implementation. Th...
متن کاملNonperturbative propagators in quantum chromodynamics.
Leading nonperturbative corrections to the quark and gluon propagators are derived following the assumption that the nonperturbative QCD vacuum can be described in terms of non-vanishing vacuum expectation values for the composite operators [T&I and [GEY]. Th e nonperturbative quark propagator can be described in terms of a running quark mass and a running normalization function. These quantiti...
متن کامل